package com.net.xpay.common.manager.partner;

import com.net.xpay.common.domain.partner.Partner;
import com.net.xpay.common.model.GetPartnerInfoModel;
import com.net.xpay.common.model.search.PartnerSearchModel;
import com.net.common.manager.VersionedManager;

import java.util.List;


public interface PartnerManager extends VersionedManager<Long, Partner> {
    List<Partner> search(PartnerSearchModel searchModel);

    long searchCount(PartnerSearchModel searchModel);

    Partner findByMobile(String mobile);

    List<Partner> listAll();

    List<Partner> list(PartnerSearchModel searchModel);

    List<Partner> infoList(GetPartnerInfoModel model);
}
